package org.okeoe.gen.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.okeoe.gen.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;

/**
 * @Title: 模板实体
 * @author dj
 * @date 2019-10-28 18:04:47
 * @version V1.0
 *
 */
@Data
@Table(name = "CG_TEMPLATE")
@EqualsAndHashCode(callSuper = false)
public class CgTemplateEntity extends BaseEntity {

	/**模板名称*/
    @NotBlank(message="模板名称不能为空!")
    @Column(name = "TEMP_NAME")
    @ApiModelProperty(value = "模板名称",name ="tempName")
	private String tempName;
	/**模板备注*/
    @Column(name = "TEMP_NOTE")
    @ApiModelProperty(value = "模板备注",name ="tempNote")
	private String tempNote;
	/**文件后缀*/
    @NotBlank(message="文件后缀不能为空!")
    @Column(name = "LAST_NAME")
    @ApiModelProperty(value = "文件后缀",name ="lastName")
	private String lastName;
	/**文件类型*/
    @NotBlank(message="文件类型不能为空!")
    @Column(name = "TEMP_SUFFIX")
    @ApiModelProperty(value = "文件类型",name ="tempSuffix")
	private String tempSuffix;
	/**分组ID*/
    @Column(name = "GROUP_TYPE")
    @ApiModelProperty(value = "分组ID",name ="groupType")
	private String groupType;
    /**分组*/
    @Column(name = "GROUP_TYPE_NAME")
    @ApiModelProperty(value = "分组名称",name ="groupTypeName")
	private String groupTypeName;
	/**模板代码*/
    @Column(name = "TEMP_CODE")
    @ApiModelProperty(value = "模板代码",name ="tempCode")
	private String tempCode;
	/**模板路径*/
    @Column(name = "CODE_PATH")
    @ApiModelProperty(value = "模板路径",name ="codePath")
	private String codePath;
	/**代码包*/
    @Column(name = "CODE_PACK")
    @ApiModelProperty(value = "代码包",name ="codePack")
	private String codePack;


}